package com.jinghong.registerlogin.mapper;

import com.jinghong.registerlogin.model.pojo.EvaluationQuestion;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * ClassName:EvaluationQuestionMapper
 * Package:com.jinghong.registerlogin.mapper
 * Description:
 *
 * @Author: 寻月君子
 * @CreatTime:2024/5/26 21:46
 * Version:1.0
 */
@Mapper
public interface EvaluationQuestionMapper {
    //增

    /**
     * 批量增加答卷与问题关联
     * @param evaluationQuestions 答卷与问题关联
     */
    public void bulkInsert(List<EvaluationQuestion> evaluationQuestions);

    List<EvaluationQuestion> getByEvaluationId(Integer id);

    void deleteByEvaluationId(List<Integer> ids);
}
